Skip to content

Refresh setup-managed AGENTS branch policy across repos#76

Merged
NagyVikt merged 1 commit intomainfrom
agent/gx/thedailyscooby-gmail-com-dup-2-agents-template-refresh-policy
Apr 13, 2026
Merged

Refresh setup-managed AGENTS branch policy across repos#76
NagyVikt merged 1 commit intomainfrom
agent/gx/thedailyscooby-gmail-com-dup-2-agents-template-refresh-policy

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Summary\n- refresh marker-bounded AGENTS managed block during gx setup/doctor instead of skipping once marker exists\n- update managed AGENTS policy text for task-start branch behavior: reuse open sub-branch or create fresh sub-branch, never edit base checkout\n- add regression test for AGENTS block refresh behavior\n\n## Verification\n- node --check bin/multiagent-safety.js\n- npm test\n- npm pack --dry-run

Setup previously stopped updating AGENTS.md once the managed marker existed, so older repos could keep outdated branch-handling rules. This change refreshes the marker-bounded block from the latest template and updates the managed policy text to explicitly require sub-branch reuse/new creation without touching the local base checkout.\n\nConstraint: Preserve user-authored AGENTS content outside the multiagent managed marker block\nRejected: Rewrite full AGENTS.md file on every setup run | would overwrite repo-specific instructions\nConfidence: high\nScope-risk: narrow\nReversibility: clean\nDirective: Keep marker-bounded replacement logic aligned with template marker names when evolving AGENTS policy text\nTested: npm test; node --check bin/multiagent-safety.js; npm pack --dry-run\nNot-tested: Manual run against a repository containing malformed AGENTS markers (start without end)
@NagyVikt NagyVikt merged commit 04507d8 into main Apr 13, 2026
12 checks passed
@NagyVikt NagyVikt deleted the agent/gx/thedailyscooby-gmail-com-dup-2-agents-template-refresh-policy branch April 13, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant